package com.df.bpm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.df.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Table;


/**
 * 业务上下游定位
 */
@TableName("businessOverview.businessLocations")
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table(name="businessOverview.businessLocations")
public class BusinessLocations extends BaseEntity {

    /**
     * 清单主键id
     */
    @Schema(description = "清单主键id")
    @TableId(value = "businessLocationsIndex", type = IdType.AUTO)
    private Integer businessLocationsIndex;

    /**
     * 上级业务id
     */
    @Schema(description = "上级业务id")
    private Integer superior;

    /**
     * 子级业务id
     */
    @Schema(description = "子级业务id")
    private Integer businessInformationIndex;


    /**
     * 分组
     * <P>-1=未分组</P>
     */
    @Schema(description = "本级中分组")
    private Integer groupID;

    /**
     * 顺序
     * <P>-1=不参与排序</P>
     */
    @Schema(description = "本级中顺序")
    private Integer sequence;


}

